﻿@Code
    ViewData("Title") = "Movie"
End Code

@Scripts.Render("~/bundles/Movie")

<h2>Movie List</h2>

@Using (Html.BeginForm())
    @Html.AntiForgeryToken()
    @<input class="btnGetTopRatedMovies" type="button" value="Top Rated Movies" id="top_rated" />
    @<input class="btnGetPopularMovies" type="button" value="Popular Movies" id="popular" />
    @<input class="btnGetUpcomingMovies" type="button" value="Upcoming Movies" id="upcoming" />
    @<input class="btnGetNowPlayingMovies" type="button" value="Now Playing Movies" id="now_playing" />
    @<input class="btnGetLatestMovies" type="button" value="Latest Movies" id="latest" />
End Using

<div class="divMovieStatus"></div>

<table class="table table-responsive tblMovieList">
    <thead class="tblMovieList_Header">
        <tr class="success rowHeader">
            <th>id</th>
            <th>original_title</th>
            <th>title</th>
            <th>release_date</th>
            <th>poster_path</th>
            <th>popularity</th>
            <th>vote_average</th>
            <th>vote_count</th>
        </tr>
    </thead>    
</table>
        
<div class="modal fade" id="progress-show" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" id="progress-show-container">
            @Html.Partial("~/Views/Shared/_ProgressShow.vbhtml")
        </div>
    </div>
</div>
